import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn' // chanise
import 'vite-plugin-svg-icons/register';

import svgIcon from './components/SvgIcon/index.vue'

import '@/permission.js'

const app= createApp(App)
app.component('svg-icon', svgIcon)
app.use(router).use(store).use(ElementPlus, {locale: zhCn,}).mount('#app')
